<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Cargo
 *
 * @author Antoniony
 */
class Cargo {
    
      public function selectCargo() {
        $sql = "Select * from cargo";
        $res = mysql_query($sql);
        while ($row = mysql_fetch_object($res)) {
            
            echo "<option value= '.$row->ID.'> ".$row->CARGO. "</option>";
        }
        echo "</select>";
    }   
    //put your code here
}

?>
